# $Id: PKGBUILD 169022 2012-10-17 10:20:41Z allan $
# Maintainer: Angel Velasquez <angvp@archlinux.org>  
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Scott Horowitz <stonecrest@gmail.com>

pkgbase=python-mpd
pkgname=python2-mpd
pkgver=0.3.0
pkgrel=4
pkgdesc="Python MPD client library"
arch=('any')
url="http://jatreuman.indefero.net/p/python-mpd/"
license=('GPL3')
depends=('python2')
conflicts=('python-mpd<=0.3.0-2')
replaces=('python-mpd<=0.3.0-2')
source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-$pkgver.tar.bz2")
md5sums=('cfd4b907ba8ef33ff79bd7cbc16b25c0')

package_python2-mpd() {
  cd "${srcdir}/${pkgbase}-${pkgver}"

  python2 setup.py install --root="${pkgdir}" --optimize=1
}
